package com.xing.dao;

import com.xing.domain.Account;

import java.math.BigDecimal;

/*
 * 静，谦虚谨慎，心胸宽广容纳所有好的坏的、先苦后甜
 * day41_transaction
 * 2021/5/8 20:41 
 */
public interface AccountDao {
    Account select(String cardNo, String pwd);

    boolean select(String toCardNo);

    BigDecimal selectMoney(String cardNo);

    void updateTake(String cardNo, BigDecimal money);

    void updateSave(String cardNo, BigDecimal money);
}
